package jframe1;

import java.awt.Color;
import java.awt.Font;
import java.awt.Graphics;
import java.awt.Image;
import java.awt.Toolkit;

import javax.swing.JFrame;
import javax.swing.JPanel;

public class TestDraw extends JFrame {

	MyPanel mp = null;
	public static void main(String[] args) {

		TestDraw td = new TestDraw();

	}

	public TestDraw(){
		mp = new MyPanel();
		this.add(mp);

		this.setSize(400, 300);
		this.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
		this.setVisible(true);
	}
}

